package com.dinpay.plugin.activity;

import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.graphics.Color;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
import java.util.List;

final class b
  implements View.OnClickListener
{
  b(BankCardListActivity paramBankCardListActivity)
  {
  }

  public final void onClick(View paramView)
  {
    switch (paramView.getId())
    {
    default:
      return;
    case 200001:
      this.a.finish();
      return;
    case 100002:
      SharedPreferences.Editor localEditor = this.a.getSharedPreferences("bankList", 0).edit();
      localEditor.putString("isCardSwitch", "1");
      localEditor.commit();
      BankCardListActivity.a(this.a).setVisibility(0);
      BankCardListActivity.b(this.a).setTextColor(Color.parseColor("#4EC7F3"));
      BankCardListActivity.c(this.a).setVisibility(0);
      BankCardListActivity.d(this.a).setTextColor(Color.parseColor("#ff50494a"));
      BankCardListActivity.e(this.a).setVisibility(4);
      BankCardListActivity.f(this.a).clear();
      if (BankCardListActivity.g(this.a).size() > 0)
        for (int j = 0; j < BankCardListActivity.g(this.a).size(); j++)
          if (((com.dinpay.plugin.b.b)BankCardListActivity.g(this.a).get(j)).c().equals("1"))
            BankCardListActivity.f(this.a).add(((com.dinpay.plugin.b.b)BankCardListActivity.g(this.a).get(j)).d());
      BankCardListActivity.h(this.a).notifyDataSetChanged();
      return;
    case 100003:
    }
    this.a.getSharedPreferences("bankList", 1).getString("isCardSwitch", "");
    BankCardListActivity.a(this.a).setVisibility(0);
    BankCardListActivity.b(this.a).setTextColor(Color.parseColor("#ff50494a"));
    BankCardListActivity.c(this.a).setVisibility(4);
    BankCardListActivity.d(this.a).setTextColor(Color.parseColor("#4EC7F3"));
    BankCardListActivity.e(this.a).setVisibility(0);
    BankCardListActivity.f(this.a).clear();
    if (BankCardListActivity.g(this.a).size() > 0)
      for (int i = 0; i < BankCardListActivity.g(this.a).size(); i++)
        if (((com.dinpay.plugin.b.b)BankCardListActivity.g(this.a).get(i)).c().equals("0"))
          BankCardListActivity.f(this.a).add(((com.dinpay.plugin.b.b)BankCardListActivity.g(this.a).get(i)).d());
    BankCardListActivity.h(this.a).notifyDataSetChanged();
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.dinpay.plugin.activity.b
 * JD-Core Version:    0.6.2
 */